package com.lyc.pojo;

//地址表
public class Address {
    private int aid; //地址编号
    private int uid; //用户编号
    private String name; //收货人名称
    private String tel;  //收货人电话
    private String areacode;//区号
    private String shengshi;//省市
    private String city; //城市
    private String quxian;//区县
    private String addrInfo;//详细地址

    public Address() {

    }

    public Address(int aid, int uid, String name, String tel, String areacode, String shengshi, String city, String quxian, String addrInfo) {
        this.aid = aid;
        this.uid = uid;
        this.name = name;
        this.tel = tel;
        this.areacode = areacode;
        this.shengshi = shengshi;
        this.city = city;
        this.quxian = quxian;
        this.addrInfo = addrInfo;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAreacode() {
        return areacode;
    }

    public void setAreacode(String areacode) {
        this.areacode = areacode;
    }

    public String getShengshi() {
        return shengshi;
    }

    public void setShengshi(String shengshi) {
        this.shengshi = shengshi;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getQuxian() {
        return quxian;
    }

    public void setQuxian(String quxian) {
        this.quxian = quxian;
    }

    public String getAddrInfo() {
        return addrInfo;
    }

    public void setAddrInfo(String addrInfo) {
        this.addrInfo = addrInfo;
    }

    @Override
    public String toString() {
        return "Address{" +
                "aid=" + aid +
                ", uid=" + uid +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", areacode='" + areacode + '\'' +
                ", shengshi='" + shengshi + '\'' +
                ", city='" + city + '\'' +
                ", quxian='" + quxian + '\'' +
                ", addrInfo='" + addrInfo + '\'' +
                '}';
    }
}
